/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.patents.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 查询专利信息Entity
 * @author wyy
 * @version 2018-10-24
 */
public class Patents extends DataEntity<Patents> {
	
	private static final long serialVersionUID = 1L;
	private String patentName;		// patent_name专利名称
	private String patentUser;		// patent_user申请人单位
	private String site;		// site地址
	private String patentType;		// patent_type专利类型
	private String userType;		// user_type申请人类型
	//申请人详细情况
	private String sex;		// sex
	private String major;		// major
	private String age;		// age
	private String userNum;		// user_num
	private String datetime;		// datetime
	private String count;		// datetime每年专利总数
	private String universitiescount;      //高校每年申请总数

	public Patents() {
		super();
	}

	public Patents(String id){
		super(id);
	}

	@Length(min=0, max=255, message="patent_name长度必须介于 0 和 255 之间")
	public String getPatentName() {
		return patentName;
	}

	public void setPatentName(String patentName) {
		this.patentName = patentName;
	}
	
	@Length(min=0, max=255, message="patent_user长度必须介于 0 和 255 之间")
	public String getPatentUser() {
		return patentUser;
	}

	public void setPatentUser(String patentUser) {
		this.patentUser = patentUser;
	}
	
	@Length(min=0, max=255, message="site长度必须介于 0 和 255 之间")
	public String getSite() {
		return site;
	}

	public void setSite(String site) {
		this.site = site;
	}
	
	@Length(min=0, max=255, message="patent_type长度必须介于 0 和 255 之间")
	public String getPatentType() {
		return patentType;
	}

	public void setPatentType(String patentType) {
		this.patentType = patentType;
	}
	
	@Length(min=0, max=50, message="user_type长度必须介于 0 和 50 之间")
	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}
	
	@Length(min=0, max=8, message="sex长度必须介于 0 和 8 之间")
	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
	
	@Length(min=0, max=255, message="major长度必须介于 0 和 255 之间")
	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}
	
	@Length(min=0, max=5, message="age长度必须介于 0 和 5 之间")
	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}
	
	@Length(min=0, max=5, message="user_num长度必须介于 0 和 5 之间")
	public String getUserNum() {
		return userNum;
	}

	public void setUserNum(String userNum) {
		this.userNum = userNum;
	}

	@Length(min=0, max=5, message="datetime长度必须介于 0 和 8 之间")
	public String getDatetime() {
		return datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	public String getUniversitiescount() {
		return universitiescount;
	}

	public void setUniversitiescount(String universitiescount) {
		this.universitiescount = universitiescount;
	}
}